#include <iostream>
#include "vectorfunctions.h"

int main()
{
	int m, n, i;
	int a[100], b[100], c[100];
	cout<<"Length of array a : ";
	cin>>m;
	readVector(a, m);
	cout<<"Length of array b : ";
	cin>>n;
	readVector(b, n);
	for(i=0;i<max(m, n);i++)
		if(i<min(m, n))
			c[i]=min(a[i], b[i]);
		else if (i>=(min(m, n)))
			c[i]=100;
	printVector(c, max(m, n));
return 0;
}
